﻿﻿//======================================================================
//
//        Copyright : Zhengzhou Strawberry Computer Technology Co.,LTD.
//        All rights reserved
//        
//        Application:NFinal MVC framework
//        Filename :{Index}.cs
//        Description :模板提示类
//
//        created by Lucas at  2015-6-30`
//     
//        WebSite:http://www.nfinal.com
//
//======================================================================
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebMvc.App.Views.Default.Extend.Yun.ContentListController
{
    public partial class Index : System.Web.UI.Page
    {
		//数据库模型
        public class __Index_logList__:NFinal.Struct
		{
			public System.Int64 id;
			public System.String module;
			public System.String yun;
			public System.String domain;
			public System.String fileType;
			public System.Byte? isSuccess;
			public System.Byte? isDeleted;
			public System.String localUrl;
			public System.String yunUrl;
			public System.String keyStr;
			public System.String file;
			public System.String bucketName;
			public System.String accessId;
			public System.String accessKey;
			public System.String sceretKey;
			#region 写Json字符串
			public override void WriteJson(System.IO.TextWriter tw)
			{
				tw.Write("{");
						tw.Write("\"id\":");
						tw.Write(id.ToString());
						tw.Write(",");
						tw.Write("\"module\":");
						if(module==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(module);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"yun\":");
						if(yun==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(yun);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"domain\":");
						if(domain==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(domain);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"fileType\":");
						if(fileType==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(fileType);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"isSuccess\":");
						tw.Write(isSuccess==null?"null" : isSuccess.ToString());
						tw.Write(",");
						tw.Write("\"isDeleted\":");
						tw.Write(isDeleted==null?"null" : isDeleted.ToString());
						tw.Write(",");
						tw.Write("\"localUrl\":");
						if(localUrl==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(localUrl);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"yunUrl\":");
						if(yunUrl==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(yunUrl);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"keyStr\":");
						if(keyStr==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(keyStr);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"file\":");
						if(file==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(file);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"bucketName\":");
						if(bucketName==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(bucketName);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"accessId\":");
						if(accessId==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(accessId);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"accessKey\":");
						if(accessKey==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(accessKey);
							tw.Write("\"");
						}
						tw.Write(",");
						tw.Write("\"sceretKey\":");
						if(sceretKey==null)
						{
							tw.Write("null");
						}
						else
						{
							tw.Write("\"");
							tw.Write(sceretKey);
							tw.Write("\"");
						}
				tw.Write("}");
			}
			#endregion
		}
		//函数内变量
        public class Index_AutoComplete:Controller
        {
			//参数变量
			//数据库变量
						public NFinal.List<__Index_logList__> logList;
			//一般变量
			//DAL函数声明变量
        }
		//变量存储类,用于自动完成.
        public Index_AutoComplete ViewBag = new Index_AutoComplete();
    }
}